/*
 * Copyright © 2022 XXXXXXXXX
 * @Author: zhangxiang
 * @Date: 2022-07-19 09:42:10
 * @LastEditors: zhangxiang
 * @LastEditTime: 2023-09-28 09:49:12
 * @Description:
 *
 */

import Vue from 'vue'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/display.css'
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
import 'pml-graph/pml-graph.css'
import locale from 'element-ui/lib/locale/lang/en' // lang i18n
import dataV from '@jiaminghi/data-view'
Vue.use(dataV)
import '@/styles/index.scss' // global css
import './assets/font/LED.scss'
import App from './App'
import store from './store'
import router from './router'

import 'area-linkage-vue/dist/index.css'
import { pcaa } from 'area-data-vue'
import AreaLinkageVue from 'area-linkage-vue'
Vue.prototype.$pcaa = pcaa
Vue.use(AreaLinkageVue)

import jsPlumb from 'jsplumb'
Vue.prototype.$jsPlumb = jsPlumb.jsPlumb

import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)

import uploader from 'vue-simple-uploader'
Vue.use(uploader)

import '@/icons' // icon
import '@/permission'

// set ElementUI lang to EN
// Vue.use(ElementUI, { locale })
// 如果想要中文版 element-ui，按如下方式声明
Vue.use(ElementUI)
Vue.use(ViewUI)
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: (h) => h(App)
})
